#ifndef GULLENGINE_UTILS_H
#define GULLENGINE_UTILS_H

#include <math.h>

namespace gull {
    namespace core {
        
		const double pi = 3.1415926535897932384626433832795;
		
        template<typename T> void
        gullSwap(T& a, T& b)
        {
            const T swap = a;
            a = b;
            b = swap;
        }
		
		inline double
		degToRad(double deg){
			return ((deg*pi)/180.0);
		}
		
		inline double
		radToDeg(double rad){
			return ((rad*180.0)/pi);
		}
        
    }
}



#endif